const routes = [
  {
    path: '/user',
    name: 'user',
    redirect: '/user/workbench',
    meta: {
      name: '办公' ,
      icon: '',
      pickIcon: '',
      order: 0,
      crumbs: ['办公']
    },
    children: [  
      {
        path: 'workbench',
        name: 'workbench',
        meta: {
          href: '/user/workbench',
          name: '工作台',
          crumbs: ['办公','工作台'],
          icon: 'User'
        },
        component: () => import('@/view/page/User/Workbench/index.vue'),
      },
      {
        path: 'calendar',
        name: 'calendar',
        meta: {
          href: '/user/calendar',
          name: '我的日程',
          crumbs: ['办公','我的日程'],
          icon: 'Calendar'
        },
        component: () => import('@/view/page/User/Calendar/index.vue'),
      },
      {
        path: 'ent',
        name: 'ent',
        meta: {
          href: '/user/ent',
          name: '企业通讯录',
          crumbs: ['办公','企业通讯录'],
          icon: 'Calendar'
        },
        component: () => import('@/view/page/User/Enterprise/index.vue'),
      },
      {
        path: 'test',
        name: 'test',
        meta: {
          href: '/user/test',
          name: '测试页面',
          crumbs: ['办公','测试页面'],
        },
        component: () => import('@/view/page/User/TestPage/index.vue'),
      }
    ]
  }
]

export default routes;